package com.itheima.domain;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

public class User {
    private String username;
    private String password;
    private String nickname;
    private Integer age;
    private String[] hobby;


    private List<String> strList;
    private Map<String,String> mapList;

    public List<String> getStrList() {
        return strList;
    }

    public void setStrList(List<String> strList) {
        this.strList = strList;
    }

    public Map<String, String> getMapList() {
        return mapList;
    }

    public void setMapList(Map<String, String> mapList) {
        this.mapList = mapList;
    }

    @Override
    public String toString() {
        return "User{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", nickname='" + nickname + '\'' +
                ", age=" + age +
                ", hobby=" + Arrays.toString(hobby) +
                ", strList=" + strList +
                ", mapList=" + mapList +
                '}';
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String[] getHobby() {
        return hobby;
    }

    public void setHobby(String[] hobby) {
        this.hobby = hobby;
    }
}
